package org.itboys.mobile.entity.mysql.score;

import org.itboys.mongodb.entity.BaseMySqlEntity;

import java.math.BigDecimal;

/**
 * 作者：zzq
 * 日期：2017年5月11日
 * 描述：圣代_积分_配置_实体。
 */
public class SundayScoreConfig extends BaseMySqlEntity{
    //基础
    private String name;//等级名称
    private BigDecimal line;//达标积分（线）。大于不等于
    //权限
    private BigDecimal discount;//购物折扣。0-1
    //奖励
    private BigDecimal buyScore;//购买奖励积分。x分/元
    private BigDecimal commentScore;//评论奖励积分。x分
    private BigDecimal communityScore;//发布社区奖励积分。X分
    private BigDecimal shareScore;//分享奖励积分。x分
    //爱购
    private BigDecimal buyAgCoin;//购买奖励爱购币。x币/元
    private BigDecimal commentAgCoin;//评论奖励爱购币。x币
    private BigDecimal communityAgCoin;//发布社区奖励爱购币。X币
    private BigDecimal shareAgCoin;//分享奖励爱购币。x分币
    //爱购币-抵扣
   // private BigDecimal topChangeDiscountAgCoin;//最大抵扣比例
    private BigDecimal chargeDiscountAgCoin;//商品抵扣爱购币比例
    private BigDecimal changeAmountAgCoin;//爱购币兑换现金比例。

    private Integer isAg;//是否开启爱购专区
    private Integer isTry;//是否开启试用专区
    private String remark;//备注
    public SundayScoreConfig() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getLine() {
        return line;
    }

    public void setLine(BigDecimal line) {
        this.line = line;
    }

    public BigDecimal getBuyScore() {
        return buyScore;
    }

    public void setBuyScore(BigDecimal buyScore) {
        this.buyScore = buyScore;
    }

    public BigDecimal getCommentScore() {
        return commentScore;
    }

    public void setCommentScore(BigDecimal commentScore) {
        this.commentScore = commentScore;
    }

    public BigDecimal getCommunityScore() {
        return communityScore;
    }

    public void setCommunityScore(BigDecimal communityScore) {
        this.communityScore = communityScore;
    }

    public BigDecimal getShareScore() {
        return shareScore;
    }

    public void setShareScore(BigDecimal shareScore) {
        this.shareScore = shareScore;
    }

    public BigDecimal getBuyAgCoin() {
        return buyAgCoin;
    }

    public void setBuyAgCoin(BigDecimal buyAgCoin) {
        this.buyAgCoin = buyAgCoin;
    }

    public BigDecimal getCommentAgCoin() {
        return commentAgCoin;
    }

    public void setCommentAgCoin(BigDecimal commentAgCoin) {
        this.commentAgCoin = commentAgCoin;
    }

    public BigDecimal getCommunityAgCoin() {
        return communityAgCoin;
    }

    public void setCommunityAgCoin(BigDecimal communityAgCoin) {
        this.communityAgCoin = communityAgCoin;
    }

    public BigDecimal getShareAgCoin() {
        return shareAgCoin;
    }

    public void setShareAgCoin(BigDecimal shareAgCoin) {
        this.shareAgCoin = shareAgCoin;
    }


    public BigDecimal getChargeDiscountAgCoin() {
        return chargeDiscountAgCoin;
    }

    public void setChargeDiscountAgCoin(BigDecimal chargeDiscountAgCoin) {
        this.chargeDiscountAgCoin = chargeDiscountAgCoin;
    }

    public BigDecimal getChangeAmountAgCoin() {
        return changeAmountAgCoin;
    }

    public void setChangeAmountAgCoin(BigDecimal changeAmountAgCoin) {
        this.changeAmountAgCoin = changeAmountAgCoin;
    }
    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public Integer getIsAg() {
        return isAg;
    }

    public void setIsAg(Integer isAg) {
        this.isAg = isAg;
    }

    public Integer getIsTry() {
        return isTry;
    }

    public void setIsTry(Integer isTry) {
        this.isTry = isTry;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
